package com.kb.service.crm;


import com.kb.entity.crm.CRMSalesOrder;
import com.kb.entity.crm.Customer;
import com.kb.entity.crm.CustomerAddress;
import com.kb.entity.crm.LinkManOfCustomer;

import java.text.ParseException;
import java.util.List;

public interface CrmService {
    public List<CRMSalesOrder> querySalesOrder(String code);
    public int del(String code);
    public List<Customer> queryCustomerByCode(List<String> codeList);
    public List<Customer> queryCustomerByParams(Integer Params) throws ParseException;
    public List<CustomerAddress> queryCustAddress(Long id);
    public List<LinkManOfCustomer> queryContacts(Long id);
    public Long insertOrUpdateContacts(LinkManOfCustomer linkManOfCustomer);
    public Long insertOrUpdateAddress(CustomerAddress customerAddress);
    public Long insertOrUpdateCustomer(Customer customer);
    public String queryCustomerIndustryById(String id);

}
